Apache License
Version 2.0、2004年1月 
http://www.apache.org/licenses/
使用、複製、および頒布に関する条項

1. 定義

「ライセンス」とは、このドキュメントの第1項から第9項までで定義している、使用、複製、および頒布に関する条項を指します。

「ライセンサー」とは、著作権所有者、あるいは著作権所有者がライセンス付与対象として認めた者を指します。

「法人」とは、行為者と、行為者を管理するか行為者により管理されるか行為者共通の管理下にある他のすべての者とから成る連合体を指します。この定義における「管理」とは、(i) 契約またはその他により、直接または間接的にこの法人の指揮・経営を行う権限、または (ii) この法人の50%以上の株式の所有権または (iii) 受益所有権を有することを指します。

「あなた」とは、本ライセンスにより付与される権利を行使する個人または法人を指します。

「ソース」形式とは、ソフトウェアのソースコード、ドキュメントソース、設定ファイルといった、変更を加えるのに好都合な形式を指します。

「オブジェクト」形式とは、コンパイルされたオブジェクトコード、生成されたドキュメント、他のメディアへの変換物といった、ソース形式の機械的な変換により生じる形式を指します。

「成果物」とは、ソース形式であるとオブジェクト形式であるとを問わず、製作物に挿入または添付される（後出の付録に例がある）著作権表示で示された著作物で、本ライセンスに基づいて利用が許されるものを指します。

「派生成果物」とは、編集上の改訂、注解、推敲など、成果物を基にしていて全体としてオリジナル著作物と呼べるような製作物全般を指します。本ライセンスでは、成果物や派生成果物から分離できる製作物や、成果物や派生成果物のインタフェースへの単なるリンク（または名前によるバインド）を、派生成果物に含めません。

「コントリビューション」とは、成果物のオリジナルバージョンならびに成果物または派生成果物への変更や追加も含めて、著作権所有者あるいは著作権所有者が認めた個人または法人による成果物への組み込みを意図してライセンサーに提出される著作物全般を指します。この定義における「提出」とは、成果物を論じたり改良するためにライセンサーまたはその代理者により管理される電子的メーリングリスト、ソースコード管理システム、問題追跡システムといった、電子的方法、口頭、または書面で、ライセンサーまたはその代理者に情報を送ることを指します。ただし、著作権所有者が書面で「コントリビューションでない」と明示したものは除きます。

「コントリビューター」とは、ライセンサーおよびその代理を務める個人または法人で、自分のコントリビューションがライセンサーに受領されて成果物に組み込まれた者を指します。

2. 著作権ライセンスの付与

本ライセンスの条項に従って、各コントリビューターはあなたに対し、ソース形式であれオブジェクト形式であれ、成果物および派生成果物を複製したり、派生成果物を作成したり、公に表示したり、公に実行したり、サブライセンスしたり、頒布したりする、無期限で世界規模で非独占的で使用料無料で取り消し不能な著作権ライセンスを付与します。

3. 特許ライセンスの付与

本ライセンスの条項に従って、各コントリビューターはあなたに対し、成果物を作成したり、使用したり、販売したり、販売用に提供したり、インポートしたり、その他の方法で移転したりする、無期限で世界規模で非独占的で使用料無料で取り消し不能な（この項で明記したものは除く）特許ライセンスを付与します。ただし、このようなライセンスは、コントリビューターによってライセンス可能な特許申請のうち、当該コントリビューターのコントリビューションを単独または該当する成果物と組み合わせて用いることで必然的に侵害されるものにのみ適用されます。あなたが誰かに対し、交差請求や反訴を含めて、成果物あるいは成果物に組み込まれたコントリビューションが直接または間接的な特許侵害に当たるとして特許訴訟を起こした場合、本ライセンスに基づいてあなたに付与された特許ライセンスは、そうした訴訟が正式に起こされた時点で終了するものとします。

4. 再頒布

あなたは、ソース形式であれオブジェクト形式であれ、変更の有無に関わらず、以下の条件をすべて満たす限りにおいて、成果物またはその派生成果物のコピーを複製したり頒布したりすることができます。

成果物または派生成果物の他の受領者に本ライセンスのコピーも渡すこと。
変更を加えたファイルについては、あなたが変更したということがよくわかるような告知を入れること。
ソース形式の派生成果物を頒布する場合は、ソース形式の成果物に含まれている著作権、特許、商標、および帰属についての告知を、派生成果物のどこにも関係しないものは除いて、すべて派生成果物に入れること。
成果物の一部として「NOTICE」に相当するテキストファイルが含まれている場合は、そうしたNOTICEファイルに含まれている帰属告知のコピーを、派生成果物のどこにも関係しないものは除いて、頒布する派生成果物に入れること。その際、次のうちの少なくとも1箇所に挿入すること。(i) 派生成果物の一部として頒布するNOTICEテキストファイル、(ii) ソース形式またはドキュメント（派生成果物と共にドキュメントを頒布する場合）、(iii) 派生成果物によって生成される表示（こうした第三者告知を盛り込むことが標準的なやり方になっている場合）。NOTICEファイルの内容はあくまで情報伝達用であって、本ライセンスを修正するものであってはなりません。あなたは頒布する派生成果物に自分の帰属告知を（成果物からのNOTICEテキストに並べて、またはその付録として）追加できますが、これはそうした追加の帰属告知が本ライセンスの修正と解釈されるおそれがない場合に限られます。
あなたは自分の修正物に自らの著作権表示を追加することができ、自分の修正物の使用、複製、または頒布について、あるいはそうした派生成果物の全体について、付加的なライセンス条項または異なるライセンス条項を設けることができます。ただし、これは成果物についてのあなたの使用、複製、および頒布が、それ以外の点で本ライセンスの条項に従っている場合に限られます。

5. コントリビューションの提出

特に断りがない限り、あなたが成果物への組み込みを意図してライセンサーに提出したコントリビューションは、付加的な条項がなければ、本ライセンスの条項に従うものとします。上述の規定にかかわらず、そうしたコントリビューションに関してあなたがライセンサーと結んだかもしれない別のライセンス契約の条項を、ここで無効にしたり修正したりすることはありません。

6. 商標

本ライセンスでは、成果物の出所を記述したりNOTICEファイルの内容を複製するときに必要になる妥当で慣習的な使い方は別として、ライセンサーの商号、商標、サービスマーク、または製品名の使用権を付与しません。

7. 保証の否認

適用される法律または書面での同意によって命じられない限り、ライセンサーは成果物を（そしてコントリビューターは各自のコントリビューションを）「現状のまま」提供するものとし、明示黙示を問わず、タイトル、非侵害性、商業的な使用可能性、および特定の目的に対する適合性を含め、いかなる保証も条件も提供しません。あなたは成果物の使用や再頒布の適切性を自分で判断する責任を持つと共に、本ライセンスにより付与される権利を行使することに伴うすべてのリスクを負うことになります。

8. 責任の制限

いかなる条件および法理論においても、不法行為（過失を含む）、契約、またはその他いかなる場合でも、適用される法律または書面での同意によって命じられない限り、コントリビューターは本ライセンスまたは成果物の使い方に関連して生じる直接損害、間接損害、偶発的な損害、特別損害、懲罰的損害、または結果損害を含め、営業権の損失、業務の停止、コンピューター障害または誤作動、その他の商業上の損害や損失など、いかなる損害に対しても、たとえそうした損害の可能性をたとえ知らされていたとしても、あなたに責任を負わないものとします。

9. 保証または追加的責任の引き受け

成果物またはその派生成果物を再頒布する際、あなたはサポート、保証、損害補償、またはその他の責任や、本ライセンスに矛盾しない権利を提示し、これを有料にすることができます。ただし、そうした責任を引き受ける場合、あなたはそれを自分自身のためにだけ自己責任として行えるのであって、他のコントリビューターのために行うことはできません。また、あなたはそうした保証や追加的責任のせいで他のコントリビューターに責任が降りかかったり賠償要求が出されたとしても、それらのコントリビューターに損害が及ぶのを防ぐと共に各コントリビューターの損害を補償することに同意しなければなりません。





                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.
